/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package sunsite.dao;

import java.util.List;
import sunsite.po.Datadic;

/**
 *
 * @author Ruby
 */
public interface DatadicDao {
    List<sunsite.po.DatadicType> getAllDatadicTypes() throws Exception;
    sunsite.po.DatadicType getDatadicType(int typeId) throws Exception;
    sunsite.po.DatadicType getDatadicType(String typeName) throws Exception;
    List<Datadic> getDatadicValues(int typeId) throws Exception;
    List<Datadic> getDatadicValues(String typeName) throws Exception;
}
